package com.tcm.prescribe.mapper;

import com.tcm.prescribe.api.domain.entity.FrequentItem;

import java.util.List;

public interface FrequentItemMapper {
    int deleteById(Long id);

    int deleteLogicById(Long id);

    int deleteByFrequentId(Long frequentId);

    int deleteLogicByFrequentId(Long frequentId);

    int insert(FrequentItem record);

    int insertBatch(List<FrequentItem> frequentItems);

    FrequentItem findById(Long id);

    int update(FrequentItem record);

    List<FrequentItem> listItemByFrequentId(Long frequentId);

}